package com.yyfax.ph;

/**
 * 注意！！！需要使用全局变量的，请移步至{@link com.yyfax.ph.common.GlobalVariableConfig}
 * <p>
 * Created by HenryZhang on 2017/2/28.
 * Copyright © 2017 www.yylending.com. All Rights Reserved.
 */
public class Global {
	private static final String TAG = Global.class.getSimpleName();

//	public static final String BASE_URL = "http://172.30.3.61:8086/cma/";//集成环境
	public static String BASE_URL = "http://172.29.2.61:80/cma/";//测试环境
//	public static final String BASE_URL = "https://cma.yylending.com/cma/";//生产环境

	public static final String SOURCE = "android";
//	public static String MAC_ID;
//	public static String VERSION;

//	public static String KEY_RSA;
//	public static String TOKEN;

	public static int IMAGE_QUALITY = 100;
	public static int IMAGE_MAX_SIZE = 2000;
	public static int IMAGE_MIN_SIZE = 200;
	public static boolean IMAGE_RESIZE = false;
	public static int IMAGE_WIDTH = 3112;//1000
	public static int IMAGE_HEIGHT = 4096;//1777

	//忽略手势
//	public static boolean mIgnoreGesture = false;
	//是否打开了本app之外的界面

//	public static boolean mThirdPartyPageOpened = false;

	//状态 success:成功，warning:警告，error:错误
//	public final static String RESPONSE_SUCCESS = "success";
//	public final static String RESPONSE_WARNING = "warning";
//	public final static String RESPONSE_ERROR = "error";

//	public static void getBaseInfo(Context ctx) {
//		if (TextUtils.isEmpty(MAC_ID))
//			//MAC_ID = SystemTool.getMacAddress();
//			MAC_ID = DeviceUuidFactory.getDeviceUuid(ctx);
//		if (TextUtils.isEmpty(VERSION))
//			VERSION = SystemTool.getAppVersionCode(ctx) + "";
//		CLog.i(TAG, "initialization: MAC_ID=" + Global.MAC_ID);
//	}

//	public static boolean hasRsaKey() {
//		return !TextUtils.isEmpty(KEY_RSA);
//	}
}
